<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
String memberType=(String)request.getAttribute("MemberType");


%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<ul>
            	<li class="menuitem"><a href="SearchMoviesServlet">Home</a></li>
                <li class="menuitem"><a href="ProfileServlet">Profile</a></li>
                <%if(memberType!=null && memberType.equals("SC")) 
                {
                
                %>
                <li class="menuitem"><a href="BalanceServlet">Balance</a></li>
                
                <%
                
                }
                else
                {
                %>
                 <li class="menuitem"><a href="BalanceServlet">Balance</a></li>
                 
                 <%
                 
                 }
                 
                 %>
                
                <li class="menuitem"><a href="Cart.jsp">Cart</a></li>
              <li class="menuitem"><a href="Fine.jsp">Fine</a></li>
                 <li class="menuitem"><a href="IssuedMovies.jsp">Issued Movies</a></li>
              <li class="menuitem"><a href="ContactUS.jsp">Contact Us</a></li>
              

            </ul>
</body>
</html>